package io.zhiller.simpletemplate.api

import io.ktor.client.HttpClient
import io.ktor.client.plugins.HttpTimeout
import io.ktor.client.plugins.contentnegotiation.ContentNegotiation
import io.ktor.serialization.jackson.jackson

val httpClient = HttpClient {
  install(HttpTimeout) {
    requestTimeoutMillis = 10000
    connectTimeoutMillis = 10000
    socketTimeoutMillis = 10000
  }
  install(ContentNegotiation) {
    jackson()
  }
}